diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-09-08 13:44:59 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-09-08 13:44:59 +0200 |
| commit | 212c3adc8a584e6517a2816fc6683688d5ac5d7a (patch) | |
| tree | 59cccb6155a739376fce05faa833076ac4b52ad4 /src/routes/projects/[id]/+page.server.ts | |
| parent | e1d80af9899e078f53d2232d2d7ef4680a14bf1c (diff) | |
Project health chart on LayerChart
Project page gets a Sante chart: daily mean of per-routine health
via computeProjectHealthSeries, ending at the current health score.
Both charts share a HealthChart component built on LayerChart's
AreaChart (time x-axis, fixed 0-100 y-axis, completion dots).
Diffstat (limited to 'src/routes/projects/[id]/+page.server.ts')
| -rw-r--r-- | src/routes/projects/[id]/+page.server.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/routes/projects/[id]/+page.server.ts b/src/routes/projects/[id]/+page.server.ts index 66cb9f3..7cb90ff 100644 --- a/src/routes/projects/[id]/+page.server.ts +++ b/src/routes/projects/[id]/+page.server.ts @@ -32,6 +32,7 @@ export const load: PageServerLoad = async ({ params }) => { project: { id: project.id, name: project.name }, routines: dashboard.routines, healthScore: dashboard.healthScore, + healthSeries: dashboard.healthSeries, archived, }; }; |
